package com.cykj.order.domain.dto;

import javax.validation.constraints.NotNull;

/**
 * 购物车初始化DTO
 * 
 * @author cykj
 * @date 2025-01-20
 */
public class CartInitDto {
    
    /** 用户ID */
    @NotNull(message = "用户ID不能为空")
    private Integer customerId;
    
    /** 店铺ID */
    @NotNull(message = "店铺ID不能为空")
    private Integer businessId;

    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    public Integer getBusinessId() {
        return businessId;
    }

    public void setBusinessId(Integer businessId) {
        this.businessId = businessId;
    }

    @Override
    public String toString() {
        return "CartInitDto{" +
                "customerId=" + customerId +
                ", businessId=" + businessId +
                '}';
    }
}
